﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace Doolin.MongoRepository.Commons
{
  public class MongoEntity : IMongoEntity
  {
    [BsonId]
    [BsonRepresentation(BsonType.ObjectId)]
    public string Id { get; set; }
  }
}
